package cn.com.yiqi.wsc.entity.shop;

import java.math.BigDecimal;
import java.util.Date;

public class Item {
    /**
    * 主键ID
    */
    private Integer id;

    /**
    * 商家id
    */
    private Integer orgId;

    /**
    * 用户id
    */
    private Integer userId;

    /**
    * 名称
    */
    private String name;

    /**
    * 标题
    */
    private String title;

    /**
    * 项目来源
    */
    private String desc;

    /**
    * 排序
    */
    private Integer sort;

    /**
    * 项目所属类别
    */
    private Integer typeId;

    /**
    * 商品库存
    */
    private Integer stock;

    /**
    * 警戒库存
    */
    private Integer warningStock;

    /**
    * 商品单位 100000000:袋 (bag/bags) 100000001:桶 (barrel/barrels) 100000002:蒲式耳 (bushel/bushels) 100078580:箱 (carton) 100078581:厘米 (centimeter) 100000003:立方米 (cubic meter) 100000004:打 (dozen) 100078584:英尺 (feet) 100000005:加仑 (gallon) 100000006:克 (gram) 100078587:英寸 (inch) 100000007:千克 (kilogram) 100078589:千升 (kiloliter) 100000008:千米 (kilometer) 100078559:升 (liter/liters) 100000009:英吨 (long ton) 100000010:米 (meter) 100000011:公吨 (metric ton) 100078560:毫克 (milligram) 100078596:毫升 (milliliter) 100078597:毫米 (millimeter) 100000012:盎司 (ounce) 100000014:包 (pack/packs) 100000013:双 (pair) 100000015:件/个 (piece/pieces) 100000016:磅 (pound) 100078603:夸脱 (quart) 100000017:套 (set/sets) 100000018:美吨 (short ton) 100078606:平方英尺 (square feet) 100078607:平方英寸 (square inch) 100000019:平方米 (square meter) 100078609:平方码 (square yard) 100000020:吨 (ton) 100078558:码 (yard/yards)
    */
    private String unit;

    private Integer usePoint;

    /**
    * 打包销售 0否 1是
    */
    private Byte packageType;

    /**
    * 每包件数 打包销售情况，lotNum>1,非打包销售情况,lotNum=1
    */
    private Integer lotNum;

    /**
    * 状态 1草稿 2待审核 3拒绝 4上架
    */
    private Byte status;

    /**
    * 已售数量
    */
    private Integer soldCount;
    private Integer limit;
    private Integer limitNumber;

    /**
    * 点赞数
    */
    private Integer favourCount;

    /**
    * 重量
    */
    private Float weight;

    /**
    * 体积
    */
    private Float volume;

    /**
    * 新增时间
    */
    private Date insertTime;

    /**
    * 新增用户id
    */
    private Integer insertUserId;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 修改用户id
    */
    private Integer updateUserId;

    /**
     * 原价
     * */
    private BigDecimal initalPrice;
    /**
     * 现价
     */
    private BigDecimal salePrice;

    /**1 积分 2现金*/
    private Integer payType;

    /** 积分价格*/
    private Integer pointPrice;

    /** 类型 商品种类 1vip 2商品 3积分商品*/
    private Integer kind;
    /**有效期 value:type (d,w,m,y)*/
    private String expiry;

    private Integer refItemId;

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimitNumber() {
        return limitNumber;
    }

    public void setLimitNumber(Integer limitNumber) {
        this.limitNumber = limitNumber;
    }

    public Integer getRefItemId() {
        return refItemId;
    }

    public void setRefItemId(Integer refItemId) {
        this.refItemId = refItemId;
    }

    public String getExpiry() {
        return expiry;
    }

    public void setExpiry(String expiry) {
        this.expiry = expiry;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPointPrice() {
        return pointPrice;
    }

    public void setPointPrice(Integer pointPrice) {
        this.pointPrice = pointPrice;
    }

    public Integer getUsePoint() {
        return usePoint;
    }

    public void setUsePoint(Integer usePoint) {
        this.usePoint = usePoint;
    }

    public BigDecimal getInitalPrice() {
        return initalPrice;
    }

    public void setInitalPrice(BigDecimal initalPrice) {
        this.initalPrice = initalPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getWarningStock() {
        return warningStock;
    }

    public void setWarningStock(Integer warningStock) {
        this.warningStock = warningStock;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }


    public Byte getPackageType() {
        return packageType;
    }

    public void setPackageType(Byte packageType) {
        this.packageType = packageType;
    }

    public Integer getLotNum() {
        return lotNum;
    }

    public void setLotNum(Integer lotNum) {
        this.lotNum = lotNum;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getSoldCount() {
        return soldCount;
    }

    public void setSoldCount(Integer soldCount) {
        this.soldCount = soldCount;
    }

    public Integer getFavourCount() {
        return favourCount;
    }

    public void setFavourCount(Integer favourCount) {
        this.favourCount = favourCount;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Float getVolume() {
        return volume;
    }

    public void setVolume(Float volume) {
        this.volume = volume;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
}